package com.hdax.dm.exceptions;

import lombok.Data;

@Data
public class DmException extends RuntimeException{


    public DmException(String errorCode, String message){
        super(message);
        this.errorCode = errorCode;

    }
    private String errorCode;

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
}
